﻿using System;

class ClassMatrixWithOverloads
{
    static void Main()
    {
        Matrix first = new Matrix(2, 2);
        first[0, 0] = 1;
        first[0, 1] = 3;
        first[1, 0] = 7;
        first[1, 1] = 15;
        Matrix second = new Matrix(2, 2);
        second[0, 0] = 1;
        second[0, 1] = 3;
        second[1, 0] = 7;
        second[1, 1] = 15;

        Console.WriteLine((first + second).ToString());
        Console.WriteLine((first - second).ToString());
        Console.WriteLine((first * second).ToString());
    }
}